package com.tsll.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @TableName menu
 */
public class Menu {
    /**
     * 
     */
    private Integer menuId;

    /**
     * 
     */
    private String menuName;

    /**
     * 
     */
    private String menuUrl;

    /**
     * 
     */
    private Integer menuParent;



    /**
     * 
     */
    public Integer getMenuId() {
        return menuId;
    }

    /**
     * 
     */
    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    /**
     * 
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * 
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    /**
     * 
     */
    public String getMenuUrl() {
        return menuUrl;
    }

    /**
     * 
     */
    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    /**
     * 
     */
    public Integer getMenuParent() {
        return menuParent;
    }

    /**
     * 
     */
    public void setMenuParent(Integer menuParent) {
        this.menuParent = menuParent;
    }


    @Override
    public String toString() {
        return "Menu{" +
                "menuId=" + menuId +
                ", menuName='" + menuName + '\'' +
                ", menuUrl='" + menuUrl + '\'' +
                ", menuParent=" + menuParent +
                ", children=" + children+
                '}';
    }

    /**
     * 菜单
     *
     */
    private List<com.tsll.entity.Menu> children=new ArrayList<com.tsll.entity.Menu>();



    public List<Menu> getChildren() {
        return children;
    }

    public void setChildren(List<Menu> children) {
        this.children = children;
    }

}